from .extensions import db
from flask_login import UserMixin
class Note(db.Model):
    """笔记在数据库中的CRM"

    """
    id = db.Column(db.Integer, primary_key=True)
    body = db.Column(db.Text)

class Admin(db.Model, UserMixin):
    """用户名和密码CRM

    """
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(10))
    passwd = db.Column(db.String(20))
